package pl.com.mol.evm.zadania.entity;

import pl.com.mol.evm.bazowe.entity.BazowaEntity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * EVM
 * User: MOL
 * Date: 27.12.12
 * Time: 23:18
 */
@Entity
@Table(name = "POWIAZANE_ZADANIA")
public class PowiazaneZadanie extends BazowaEntity{

    @ManyToOne
    @JoinColumn(name = "ZADANIE_ID")
    private Zadanie zadanie;

    public Zadanie getZadanie() {
        return zadanie;
    }

    public void setZadanie(Zadanie pZadanie) {
        zadanie = pZadanie;
    }
}
